{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "5450dff5-7e02-4d91-9058-8b4eab69795f",
   "metadata": {},
   "source": [
    "# 1 Matplotlib"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "20631bf2-92ca-46bb-b722-f6f36cd37c67",
   "metadata": {},
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "\n",
    "#配置绘图的位置为当前画布内\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "fb7c8123-1513-425e-a704-70368fbcab2e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Figure size 800x200 with 0 Axes>"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plt.figure(figsize=(8,2))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "55ed9f9a-bc44-4bd6-90ee-47e01f919910",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 画板是不成像的，画布是成像的，画板只负责管理画布\n",
    "figure = plt.figure(figsize=(6,4))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "4da9acb1-ffea-4379-9a20-8d02f63fc2d0",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Axes: >"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "plt.figure(figsize=(6, 4))\n",
    "\n",
    "figure = plt.figure(figsize=(2,4))\n",
    "# 获取画布\n",
    "axes = plt.subplot(111)\n",
    "axes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "131dc391-bcf7-427d-8060-72ec3b6eb4e9",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "77fce6cd-8156-4d20-ade7-134d72db3c96",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ad9d7f61-8066-4028-8d81-7c09f5bd9882",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6bc4f1e5-7161-460e-bcbd-cc920fe9cee8",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f70e00bd-beaa-45d9-89a2-9a506dd31515",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "9909ac14-827f-4c0f-9137-8874145cacd4",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "c69ffe22-a58e-40b0-a06d-7308e1961458",
   "metadata": {},
   "source": [
    "# 2 外观的通用设置"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d147fa61-637b-46c8-824e-428214aaa2f0",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2013ea2a-fd76-4a35-a508-93769de28a39",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "689f07c4-9a37-40a7-9cfa-a56b8d8ca549",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "a75f7792-b11c-497d-9c2f-1f4663f53c5e",
   "metadata": {},
   "source": [
    "# 3 全局属性设置"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5ff98b78-3ab4-4e4c-b37f-e0742c735dc2",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "1f02dcf7-26e5-455c-9fa9-153a858e0047",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f0b05932-a931-4809-9220-508321f530bd",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "d1b633d9-2bcd-412a-a230-3ab53b3ddc2b",
   "metadata": {},
   "source": [
    "# 4 matplotlib2D绘图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c45bde44-32a2-49e2-bf01-97a0348225b9",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "369a3f8e-0179-4a6b-aeeb-9b55ccdc7e2b",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "bd27056e-32bd-4bc8-b9d2-ce372f7bb558",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f724981c-bdce-40c9-8eb7-7c8830c6f281",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
